package com.ssm.song.book.mapper;

import com.ssm.song.book.domain.Book;
import com.ssm.song.book.domain.vo.BookVo;

import java.util.List;

/**
* @author 宋伟宁
* @description 针对表【book】的数据库操作Mapper
* @createDate 2023-10-16 14:30:25
* @Entity com.ssm.song.book.domain.Book
*/
public interface BookMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Book record);

    int insertSelective(Book record);

    Book selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Book record);

    int updateByPrimaryKey(Book record);

    List<BookVo> findAll();
}
